]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: Dispose Source on destruction
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 14 May 2019 02:03:51 +0000 (04:03 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 16 Oct 2019 15:26:13 +0000 (15:26 +0000)
commit4e1492c92692333fd107cf194bbeb24f09fe89f0
tree758b515ffa3534592785005cb79a3ea613997c56
parented97f61750c808f25c835ac38a4969ff721191e7
messageTray: Dispose Source on destruction

Dispose the Source Object when dispose() is called, avoiding that it could be
called twice on a destroyed Source.

So, notify count changes before destroying the object, and don't emit this
twice on destroyNonResidentNotifications (as if a notification is destroyed
the property notify will happen in the notification destroy callback anyways).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559
js/ui/messageTray.js